package com.liannong.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@TableName(value = "warehouse")
public class Warehouse {
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    @TableField("traceCode")
    private String traceCode;
    
    @TableField("product_id")
    private Long productId;
    
    @TableField("amount")
    private BigDecimal amount;
    
    @TableField("sendDate")
    private LocalDate sendDate;
    
    @TableField("origin")
    private String origin;
    
    @TableField("name")
    private String name;
    
    @TableField("recvDate")
    private LocalDate recvDate;
    
    @TableField("now_temp")
    private Integer nowTemp;
}